﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace System.Windows.Media.DirectShow
{
    public class DirectShowFilterException : DirectShowException
    {

        private IBaseFilter _filter;

        public DirectShowFilterException(string message, IBaseFilter filter)
            : base(message)
        {
            _filter = filter;
        }

        public DirectShowFilterException(string message, IBaseFilter filter, Exception innerException)
            : base(message, innerException)
        {
            _filter = filter;
        }

        public IBaseFilter Filter
        {
            get { return _filter; }
        }

    }
}
